package yunquan.wang.modules.base.entity;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import yunquan.wang.base.domain.IdEntity;
@Entity
@Table(name = "BASE_REPORT_PARAM")
public class ReportParameter extends IdEntity {
	private String name;//名称
	private	String resourceName;//国际化名称
	private	String type;//Integer,String ,Date
	private	String fromtype;//来源，input,session,expression
	private Integer inorout;//1.in,2,out.3.inout
	private	String value;
	private	String defaultValue;//default Value
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "PK_REPORT")
	private Report report;
	
	
 
	public Integer getInorout() {
		return inorout;
	}
	public void setInorout(Integer inorout) {
		this.inorout = inorout;
	}
	public Report getReport() {
		return report;
	}
	public void setReport(Report report) {
		this.report = report;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getResourceName() {
		return resourceName;
	}
	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
 
	public String getFromtype() {
		return fromtype;
	}
	public void setFromtype(String fromtype) {
		this.fromtype = fromtype;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public String getDefaultValue() {
		return defaultValue;
	}
	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
 
	

}
